import java.util.Random;

public class Dice {
	private int rolledDice1, 
				rolledDice2, 
				totalRoll;
	
	private Random r = new Random();
	
	public void rollDice1(){
		this.rolledDice1 = r.nextInt(6)+1;
	}
	
	public void rollDice2(){
		this.rolledDice2 = r.nextInt(6)+1;
	}
	
	public int getRollDice1(){
		return rolledDice1;
	}
	
	public int getRollDice2(){
		return rolledDice2;
	}
	
	public void setTotalRoll(){
		this.totalRoll = rolledDice1 + rolledDice2;
	}
	
	public int getTotalRoll(){
		return this.totalRoll;
	}
	
	public boolean isSameRoll(){//bry

		boolean isSameRoll = false;
		if(this.rolledDice1 == this.rolledDice2)
		isSameRoll=true;
		return isSameRoll;
	}
}
	

